home *** CD-ROM | disk | FTP | other *** search
- Path: news.cs.utwente.nl!faase
- From: faase@cs.utwente.nl (Frans F.J. Faase)
- Newsgroups: comp.lang.c
- Subject: Re: Sorting algorithm - In search of
- Date: 1 Mar 1996 09:40:11 GMT
- Organization: University of Twente, Dept. of Computer Science
- Sender: faase@rosarium (Frans F.J. Faase)
- Distribution: world
- Message-ID: <4h6glr$ab6@utrhcs.cs.utwente.nl>
- References: <4h4jmq$3bh@news.cis.nctu.edu.tw>
- NNTP-Posting-Host: rosarium.cs.utwente.nl
- To: Don Pierce <don@pierce.geometrics.com>
-
- In article <4h4jmq$3bh@news.cis.nctu.edu.tw>, Don Pierce <don@pierce.geometrics.com> writes:
- |> I am looking for an efficient sorting alogorithm
- |> to sort an array of floats. I prefer a non-recursive
- |> type because I heard they were inefficient on large data
- |> sets. My array contains upt 10000 elements
-
- You could try my Fast Bubble Sort:
- http://wwwis.cs.utwente.nl:8080/~faase/Ha/bsort.c.txt
- http://wwwis.cs.utwente.nl:8080/~faase/Ha/bsort_s.c.txt
- Description on:
- http://wwwis.cs.utwente.nl:8080/~faase/hacker.html
-
- The bsort_s.c is the same as bosrt.c, except that it works for
- simple types (like char, int, double) defined by STYPE.
- (I did not test bsort_s.c)
-
- Frans
-
- --
- Frans J. Faase
- Information Systems Group Tel : +31-53-4894232
- Department of Computer Science secr. : +31-53-4893690
- University of Twente Fax : +31-53-4892927
- PO box 217, 7500 AE Enschede, The Netherlands Email : faase@cs.utwente.nl
- --------------- http://www.cs.utwente.nl/~faase/ ---------------------
-
-